#ifndef OBSERVABLE_H
#define OBSERVABLE_H

#include <vector>

#include "util/Observer.hpp"

class Observable
{
    public:
        Observable();
        virtual ~Observable();

        void AddObserver	(Observer*);
        void DeletteObserver(Observer*);

    protected:

        void NotifyObserver(int, void* parameter);

    private:

        std::vector<Observer*> m_listOfObserver;
};

#endif // OBSERVABLE_H
